    new Vue({
        delimiters:['[[',']]'],
        el: '.password-vue',
        data: {
            username: '',
            password: '',
            password_show: "",
            check_show: "none",
            wait_time:60,
        },
        mounted(){
            console.log("Beginning");
            console.log(this.username);
        },
        methods:{
            SubmitPassword:function () {
                console.log("正在登陆中，请耐心等待");
                this.password_show = "none";
                this.check_show = "";
                // console.log(this.password);
                // window.location.href = "/password/" + this.username + "/"
                $.ajax({
                    url:'/amazon-login/',
                    type:'POST',
                    data:{
                        'username':this.username,
                        'password':this.password,
                    },
                    dateType:'json'
                }).done(function (res) {
                    Swal.fire(
                        'Success!',
                        'Success get the Cookies!',
                        'success'
                    );
                    console.log(res);
                }).fail(function () {
                    Swal.fire({
                        type: 'error',
                        title: 'Oops...',
                        text: 'Connection Failed!',
                        footer: '<a href>try again</a>'
                    });
                    console.log("Connection Failed")
                });
            }
        }
    });
